// id自增工具
function getNewId(localStoragebookArrOBJ) {
    console.log(localStoragebookArrOBJ);
    // 拿到最后一条数据 最后一条数据的下标为长度-1，进行分割，取出下表为0的id
    console.log(localStoragebookArrOBJ[localStoragebookArrOBJ.length - 1].id);
    // 让id自增
    let id = localStoragebookArrOBJ[localStoragebookArrOBJ.length - 1].id;
    id++;
    return id;
}